package com.cskaoyan.controller.admin;

import com.cskaoyan.bean.BasePageInfo;
import com.cskaoyan.bean.vo.BaseRespVo;
import com.cskaoyan.service.admin.MarketFootprintService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author LC_RSH
 * @date 2022/6/26 11:28
 */
@RestController
@RequestMapping("admin/footprint")
public class AdminFootprintController {
    @Autowired
    MarketFootprintService footprintService;

    /**
     * 展示收藏列表
     *
     * @param userId
     * @param goodsId
     * @return 收藏列表 /无效参数
     * @author LC_R-SH
     * @since 2022/06/26 11:35
     */
    @RequestMapping("list")
    public BaseRespVo list(String userId, String goodsId, BasePageInfo info) {
        BaseRespVo baseRespVo = footprintService.query(userId, goodsId, info);
        return baseRespVo;
    }

}

/**
 * 会员足迹
 *
 * @author 86157
 * @since 2022/06/26 11:28
 */